#include <iostream>
#include <math.h>

using namespace std;

int main()
{
float a,b,c;

  cout << "Vvedi chislo A: ";
  cin >> a;
  cout << "Vvedi chislo B: ";
  cin >> b;
  cout << "Vvedi chislo C: ";
  cin >> c;

if (a<b && b<c || a>b && b>c)
 {
  a=a*2;
  b=b*2;
  c=c*2;
   cout << a << ' ' << b << ' ' << c;
 }
else
 {
  a=-a;
  b=-b;
  c=-c;
   cout << a << ' ' << b << ' ' << c;
 }
    return 0;
}
